import { RouteRecordRaw } from "vue-router";

import Main from "@/views/main/index.vue";
import About from "@/views/about/index.vue";
import Company from "@/views/company/index.vue";
import Container from "@/views/container/index.vue";
import Product from "@/views/product/index.vue";

const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "main",
    component: Main,
    meta: {
      title: "首页",
    },
  },
  {
    path: "/about",
    name: "about",
    component: About,
    meta: {
      title: "关于",
    },
  },
  {
    path: "/company",
    name: "company",
    component: Company,
    meta: {
      title: "公司动态",
    },
  },
  {
    path: "/container",
    name: "container",
    component: Container,
    meta: {
      title: "联系我们",
    },
  },
  {
    path: "/product",
    name: "product",
    component: Product,
    meta: {
      title: "产品展示",
    },
  },
];
export default routes;
